package com.qiaofang.collectmanage.stub.bean;
/**
 * @Author:   yi.li
 */
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "采集规则DTO对象")
public class CollectRuleDTO implements Serializable {

    @ApiModelProperty(value ="id")
    private Integer id;

    @ApiModelProperty(value = "采集规则UUID")
    private String uuid;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "采集网站")
    private String source;

    @ApiModelProperty(value = "归属人")
    private String belonger;

    @ApiModelProperty(value = "房屋类型")
    private String collectHouseType;

    @ApiModelProperty(value = "出租、出售、求租、求购")
    private String collectType;

    @ApiModelProperty(value = "采集URL")
    private String website;

    @ApiModelProperty(value = "列表页编码")
    private String listWebCode;

    @ApiModelProperty(value = "详情页编码")
    private String detailWebCode;

    @ApiModelProperty(value = "默认采集页数")
    private Integer defaultPages;

    @ApiModelProperty(value = "kafka 主题")
    private String topicName;

    @ApiModelProperty(value = "创建人")
    private Long createdUserId;

    @ApiModelProperty(value = "更新人")
    private Long updatedUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getBelonger() {
        return belonger;
    }

    public void setBelonger(String belonger) {
        this.belonger = belonger;
    }



    public String getCollectType() {
        return collectType;
    }

    public void setCollectType(String collectType) {
        this.collectType = collectType;
    }



    public String getListWebCode() {
        return listWebCode;
    }

    public void setListWebCode(String listWebCode) {
        this.listWebCode = listWebCode;
    }

    public String getDetailWebCode() {
        return detailWebCode;
    }

    public void setDetailWebCode(String detailWebCode) {
        this.detailWebCode = detailWebCode;
    }

    public Integer getDefaultPages() {
        return defaultPages;
    }

    public void setDefaultPages(Integer defaultPages) {
        this.defaultPages = defaultPages;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCollectHouseType() {
        return collectHouseType;
    }

    public void setCollectHouseType(String collectHouseType) {
        this.collectHouseType = collectHouseType;
    }

    public Long getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Long createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Long getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Long updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "CollectRuleDTO{" +
                "id=" + id +
                ", uuid='" + uuid + '\'' +
                ", city='" + city + '\'' +
                ", source='" + source + '\'' +
                ", belonger='" + belonger + '\'' +
                ", collectHouseType='" + collectHouseType + '\'' +
                ", collectType='" + collectType + '\'' +
                ", website='" + website + '\'' +
                ", listWebCode='" + listWebCode + '\'' +
                ", detailWebCode='" + detailWebCode + '\'' +
                ", defaultPages=" + defaultPages +
                ", topicName='" + topicName + '\'' +
                ", createdUserId=" + createdUserId +
                ", updatedUserId=" + updatedUserId +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", deleted=" + deleted +
                '}';
    }
}
